<template>
  <div class="currencyTopAuto">
    <div class="TopAuo_right">
      <a href="#/">
        <img src="../../assets/icon/new-back.png" alt />
      </a>
    </div>
    <slot></slot>
    <div class="TopAuo_left">
      <a href id="mainnav">
        <img src="../../assets/icon/ico-menu.png" alt />
      </a>
    </div>
  </div>
</template>

<script>
export default {
  name: "currencyTopAuto"
};
</script>

<style scoped>
.currencyTopAuto {
  border-bottom: 0.01rem solid #ddd;
  height: 0.88rem;
  text-align: center;
  position: relative;
  line-height: 0.86rem;
}

.TopAuo_right {
  display: block;
  position: absolute;
  left: 0;
  color: #fff;
}

.TopAuo_right a {
  padding: 0;
  display: inline-block;
  width: 0.72rem;
  color: #333;
}

.TopAuo_right a img {
  width: 0.24rem;
  vertical-align: middle;
  border: none;
}

.TopAuo_left {
  position: absolute;
  right: 0;
  border-left: 0 #ac6a46 solid;
  top: 0;
}

#mainnav {
  text-align: center;
  display: inline-block;
  width: 0.84rem;
  height: 0.6rem;
  padding-top: 0.28rem;
  line-height: 0.4rem;
}

#mainnav img{
  width: .4rem;
}
</style>